package java_thinking.unit_20._20_1;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Desc:   20.2.3.1 修饰javaBean域准备的注释
 * @author: cww
 * @DateTime: 2019-05-26 21:15
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SQLString {
    int value() default 0;
    String name() default "";

    /**
     * 嵌套注释
     * @return
     */
    Constraints constraints() default @Constraints;
}

